package com.cocotingo.snail.template.resource;

import java.awt.GraphicsConfiguration;

import com.cocotingo.snail.AcceleratedImage;

public class AcceleratedImageResource extends AcceleratedImage implements Resource {

	private final String id;
	
	public AcceleratedImageResource(String id, GraphicsConfiguration gc, ImageSourceLoader loader) {
		super(gc, loader);
		this.id = id;
	}

	@Override
	public int getType() {
		return Resource.ACCELERATED_IMAGE;
	}

	@Override
	public String getID() {
		return id;
	}

}
